<?php
/* $Id$ */

require_once "lib/template/TemplateProcessor.class.php";

class BasicTemplateProcessor extends TemplateProcessor {

	function BasicTemplateProcessor() {

		/* Keywords mit Callbacks registrieren */

		$this->registerKeyword("{unix_timestamp}", array	(
								"table" 	=> null,
								"callback"	=> array( $this, "tpl_getCurrentUnixTimestamp_html" ),
								"parameter"	=> null
							)
		);
	}


	function tpl_getCurrentUnixTimestamp_html( $parameter ) {
		return mktime();
	}




}




?>